package com.xiaoxing.salesclient.mvp.model.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author 小星 QQ:753940262
 * @class describe
 * @time 2018/7/7 0007 16:43
 */
public class UserCenter implements Serializable {


    /**
     * code : 200
     * msg : success
     * data : {"nick_name":"馬克","uid":"96","cover":"http://zc.xiaoqi.store/Uploads/2018-01-24/5a689d44c9e33.jpg","user_name":"0927458339","member_money":"0","points":"5000","qrcode":"http://zc.xiaoqi.store/Uploads/qrcode/0927458339.jpg","order":[{"order_id":"5","order_no":"20180912220119114","uid":"96","shop_id":"34","product_id":"129","product_name":"敏感肌膚保養組","product_price":"68","product_num":"1","points":"0","pay_sn":"","remark":null,"is_del":"0","payment":"1","pay_amount":"0","status":"0","create_time":"1536760879","shop_name":"欣欣美容診所","nick_name":"馬克","mobile":"0927458339"},{"order_id":"3","order_no":"20180908170055176","uid":"96","shop_id":"33","product_id":"150","product_name":"保養美白組合","product_price":"50","product_num":"1","points":"200","pay_sn":"","remark":null,"is_del":"0","payment":"1","pay_amount":"0","status":"0","create_time":"1536397255","shop_name":null,"nick_name":"馬克","mobile":"0927458339"}],"history":[{"appoint_id":"2","uid":"96","doctor_id":"1","shop_id":"34","section_id":"2","appoint_date":"2018-09-08","time_id":"1","status":"1","create_time":"1535628147","arrive_time":"1536403173","appoint_time":"9:00-11:00"},{"appoint_id":"1","uid":"96","doctor_id":"1","shop_id":"34","section_id":"1","appoint_date":"2018-08-22","time_id":"1","status":"0","create_time":"1508924050","arrive_time":"0","appoint_time":"14:00-16:00"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * nick_name : 馬克
         * uid : 96
         * cover : http://zc.xiaoqi.store/Uploads/2018-01-24/5a689d44c9e33.jpg
         * user_name : 0927458339
         * member_money : 0
         * points : 5000
         * qrcode : http://zc.xiaoqi.store/Uploads/qrcode/0927458339.jpg
         * order : [{"order_id":"5","order_no":"20180912220119114","uid":"96","shop_id":"34","product_id":"129","product_name":"敏感肌膚保養組","product_price":"68","product_num":"1","points":"0","pay_sn":"","remark":null,"is_del":"0","payment":"1","pay_amount":"0","status":"0","create_time":"1536760879","shop_name":"欣欣美容診所","nick_name":"馬克","mobile":"0927458339"},{"order_id":"3","order_no":"20180908170055176","uid":"96","shop_id":"33","product_id":"150","product_name":"保養美白組合","product_price":"50","product_num":"1","points":"200","pay_sn":"","remark":null,"is_del":"0","payment":"1","pay_amount":"0","status":"0","create_time":"1536397255","shop_name":null,"nick_name":"馬克","mobile":"0927458339"}]
         * history : [{"appoint_id":"2","uid":"96","doctor_id":"1","shop_id":"34","section_id":"2","appoint_date":"2018-09-08","time_id":"1","status":"1","create_time":"1535628147","arrive_time":"1536403173","appoint_time":"9:00-11:00"},{"appoint_id":"1","uid":"96","doctor_id":"1","shop_id":"34","section_id":"1","appoint_date":"2018-08-22","time_id":"1","status":"0","create_time":"1508924050","arrive_time":"0","appoint_time":"14:00-16:00"}]
         */

        private String nick_name;
        private String uid;
        private String cover;
        private String user_name;
        private String member_money;
        private String points;
        private String qrcode;
        private String level;
        private List<OrderBean> order;
        private List<HistoryBean> history;

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public String getNick_name() {
            return nick_name;
        }

        public void setNick_name(String nick_name) {
            this.nick_name = nick_name;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public String getMember_money() {
            return member_money;
        }

        public void setMember_money(String member_money) {
            this.member_money = member_money;
        }

        public String getPoints() {
            return points;
        }

        public void setPoints(String points) {
            this.points = points;
        }

        public String getQrcode() {
            return qrcode;
        }

        public void setQrcode(String qrcode) {
            this.qrcode = qrcode;
        }

        public List<OrderBean> getOrder() {
            return order;
        }

        public void setOrder(List<OrderBean> order) {
            this.order = order;
        }

        public List<HistoryBean> getHistory() {
            return history;
        }

        public void setHistory(List<HistoryBean> history) {
            this.history = history;
        }

        public static class OrderBean {
            /**
             * order_id : 5
             * order_no : 20180912220119114
             * uid : 96
             * shop_id : 34
             * product_id : 129
             * product_name : 敏感肌膚保養組
             * product_price : 68
             * product_num : 1
             * points : 0
             * pay_sn :
             * remark : null
             * is_del : 0
             * payment : 1
             * pay_amount : 0
             * status : 0
             * create_time : 1536760879
             * shop_name : 欣欣美容診所
             * nick_name : 馬克
             * mobile : 0927458339
             */

            private String order_id;
            private String order_no;
            private String uid;
            private String shop_id;
            private String product_id;
            private String product_name;
            private String product_price;
            private String product_num;
            private String total_amount;
            private String points;
            private String pay_sn;
            private Object remark;
            private String is_del;
            private String payment;
            private String pay_amount;
            private String status;
            private String create_time;
            private String shop_name;
            private String nick_name;
            private String mobile;

            public String getTotal_amount() {
                return total_amount;
            }

            public void setTotal_amount(String total_amount) {
                this.total_amount = total_amount;
            }

            public String getOrder_id() {
                return order_id;
            }

            public void setOrder_id(String order_id) {
                this.order_id = order_id;
            }

            public String getOrder_no() {
                return order_no;
            }

            public void setOrder_no(String order_no) {
                this.order_no = order_no;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getShop_id() {
                return shop_id;
            }

            public void setShop_id(String shop_id) {
                this.shop_id = shop_id;
            }

            public String getProduct_id() {
                return product_id;
            }

            public void setProduct_id(String product_id) {
                this.product_id = product_id;
            }

            public String getProduct_name() {
                return product_name;
            }

            public void setProduct_name(String product_name) {
                this.product_name = product_name;
            }

            public String getProduct_price() {
                return product_price;
            }

            public void setProduct_price(String product_price) {
                this.product_price = product_price;
            }

            public String getProduct_num() {
                return product_num;
            }

            public void setProduct_num(String product_num) {
                this.product_num = product_num;
            }

            public String getPoints() {
                return points;
            }

            public void setPoints(String points) {
                this.points = points;
            }

            public String getPay_sn() {
                return pay_sn;
            }

            public void setPay_sn(String pay_sn) {
                this.pay_sn = pay_sn;
            }

            public Object getRemark() {
                return remark;
            }

            public void setRemark(Object remark) {
                this.remark = remark;
            }

            public String getIs_del() {
                return is_del;
            }

            public void setIs_del(String is_del) {
                this.is_del = is_del;
            }

            public String getPayment() {
                return payment;
            }

            public void setPayment(String payment) {
                this.payment = payment;
            }

            public String getPay_amount() {
                return pay_amount;
            }

            public void setPay_amount(String pay_amount) {
                this.pay_amount = pay_amount;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getShop_name() {
                return shop_name;
            }

            public void setShop_name(String shop_name) {
                this.shop_name = shop_name;
            }

            public String getNick_name() {
                return nick_name;
            }

            public void setNick_name(String nick_name) {
                this.nick_name = nick_name;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }
        }

        public static class HistoryBean {
            /**
             * appoint_id : 2
             * uid : 96
             * doctor_id : 1
             * shop_id : 34
             * section_id : 2
             * appoint_date : 2018-09-08
             * time_id : 1
             * status : 1
             * create_time : 1535628147
             * arrive_time : 1536403173
             * appoint_time : 9:00-11:00
             */

            private String appoint_id;
            private String uid;
            private String doctor_id;
            private String shop_id;
            private String section_id;
            private String appoint_date;
            private String time_id;
            private String status;
            private String create_time;
            private String arrive_time;
            private String appoint_time;

            public String getAppoint_id() {
                return appoint_id;
            }

            public void setAppoint_id(String appoint_id) {
                this.appoint_id = appoint_id;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getDoctor_id() {
                return doctor_id;
            }

            public void setDoctor_id(String doctor_id) {
                this.doctor_id = doctor_id;
            }

            public String getShop_id() {
                return shop_id;
            }

            public void setShop_id(String shop_id) {
                this.shop_id = shop_id;
            }

            public String getSection_id() {
                return section_id;
            }

            public void setSection_id(String section_id) {
                this.section_id = section_id;
            }

            public String getAppoint_date() {
                return appoint_date;
            }

            public void setAppoint_date(String appoint_date) {
                this.appoint_date = appoint_date;
            }

            public String getTime_id() {
                return time_id;
            }

            public void setTime_id(String time_id) {
                this.time_id = time_id;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getArrive_time() {
                return arrive_time;
            }

            public void setArrive_time(String arrive_time) {
                this.arrive_time = arrive_time;
            }

            public String getAppoint_time() {
                return appoint_time;
            }

            public void setAppoint_time(String appoint_time) {
                this.appoint_time = appoint_time;
            }
        }
    }
}
